package com.bgIntlgn.client.entity.jishubu;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

@View(name = "elements_view", sqlToCreate = "select e.id as id, e.name as elementname, d.name as typename "
		+ "from elements as e, dictionarys as d  "
		+ "where e.type = d.id")

public class ElementView implements Bean {
	
	private Long id;
	private String elementname;
	private String typename;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getElementname() {
		return elementname;
	}
	public void setElementname(String elementname) {
		this.elementname = elementname;
	}
	public String getTypename() {
		return typename;
	}
	public void setTypename(String typename) {
		this.typename = typename;
	}
	

}
